/**
 * @file        main.c
 *
 * @brief       Main program body
 *
 * @version     V1.0.0
 *
 * @date        2024-12-01
 *
 * @attention
 *
 *  Copyright (C) 2024-2025 Geehy Semiconductor
 *
 *  You may not use this file except in compliance with the
 *  GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE).
 *
 *  The program is only for reference, which is distributed in the hope
 *  that it will be useful and instructional for customers to develop
 *  their software. Unless required by applicable law or agreed to in
 *  writing, the program is distributed on an "AS IS" BASIS, WITHOUT
 *  ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions
 *  and limitations under the License.
 */

/* Includes ***************************************************************/
#include "main.h"

/* Private includes *******************************************************/

/* Private macro **********************************************************/

/* Private typedef ********************************************************/

/* Private variables ******************************************************/

/* Private function prototypes ********************************************/
//void TMR_Config(void);

/* External variables *****************************************************/

/* External functions *****************************************************/



#include "task.h"
#include "usart1.h"
#include "apm32f402_403_dma.h"

#include "global.h"
#include "exit.h"
#include "time1.h"
/**
 * @brief   Main program
 *
 * @param   None
 *
 * @retval  None
 */
int main(void)
{

    SystemCoreClockUpdate();
    BOARD_LED_Config(LED2);
    BOARD_LED_Config(LED3);

		USART1_INIT(115200);

    TMR_Config();

		EXTI0_INT_INIT();
    /* Infinite loop */
    while (1)
    {
       Task_Pro_Handler_Callback();
    }
}


